package com.story.api.moduler.user.constant;

/**
 * @author Administrator
 * @decription
 * @Date 2018-02-02 11:31
 */
public enum MsgType {
    /**
     * 注册
     */
    REG_TYPE("register","reg_"),

    /**
     * 忘记密码
     */
    FORGET_TYPE("forget","forget_"),

    /**
     * 登录
     */
    LOGIN_TYPE("login","login_")
    ;

    private String type;

    private String typePrefix;



    MsgType(String type, String typePrefix) {
        this.type = type;
        this.typePrefix = typePrefix;
    }

    public String getType() {
        return type;
    }

    public String getTypePrefix() {
        return typePrefix;
    }
}
